import React from "react";
import { useNavigate } from "react-router-dom";
const S404: React.FC<any> = () => {
  const navigate = useNavigate()
  setTimeout(() => {
    goRouter()
  }, 1000)
  function goRouter() {
    navigate('login')
  }
  return (
    <h1>404</h1>
  )
}
export default S404